#ifndef SERVER_H
#define SERVER_H

#include <QObject>
#include <QTcpServer>
#include <QTcpSocket>

class server : public QTcpServer
{
    Q_OBJECT
public:
    explicit server(QObject *parent = nullptr);

private:
    QTcpSocket *sock;

public slots:
    void incomingConnection(qintptr handle);

signals:

};

#endif // SERVER_H
